@extends('desktop.template.bootstrap') @section('content')
<div class="row">
	@foreach($galleries as $gallery)
	<div class="col-md-3 col-sm-3">
		<article class="blog-teaser">
			<header>
				<img src="{{ $gallery->coverUrl('242x200') }}" alt="">
				<h3>
					<a href="{{ url('/galleries/' .$gallery->id) }}">{{ $gallery->name }}</a>
				</h3>
				<span class="meta">最近更新：{{ $gallery->getUpdateTime() }}</span> <br />
				<span class="meta"><span class="ion-image"></span> {{ $gallery->imgs->count() }}</span>&nbsp;
				<span class="meta"><span class="ion-ios-chatbubble"></span> {{ $gallery->comments->count() }}</span>
				<hr>
			</header>
		</article>
	</div>
	@endforeach
</div>
@stop
